Pronamic\WordPress\Pay\Extensions\WooCommerce\Gateway C

Total Complexity 114
Dependencies 26
Dependents 2
Total lines 1,119
Lines of code 621
Logical lines of code 348
Comment lines 273
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
B
33 22 89
new_pronamic_payment_from_wc_order()
B
30 14 125
init_form_fields()
A
34 10 102
process_refund()
A
38 10 65
__construct()
A
40 10 60
get_pronamic_icon_url()
A
56 9 17
after_checkout_validation()
S
53 6 23
print_fields()
S
51 5 31
get_input_fields()
S
54 5 23
connect_subscription_payment_renewal()
S
57 5 16
has_pronamic_subscriptions_support()
S
61 4 14
get_pronamic_subscriptions()
S
60 3 14
maybe_add_refunds_support()
S
70 3 6
get_pronamic_option()
S
65 3 9
maybe_add_subscriptions_support()
S
61 2 13
get_wp_payment_method()
S
82 1 3
payment_fields()
S
73 1 5
process_subscription_payment()
S
70 1 6